﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Vms.Web.Lib;

namespace Vms.Web.Controllers
{
    public class DesignSymbolController : Controller
    {
        //
        // GET: /DesignSymbol/

        public ActionResult Index()
        {
            // Font_Color
            List<SelectListItem> colors = new List<SelectListItem>();
            for (int i = 0; i < Utility.FONT_COLOR.GetLength(0); ++i)
            {
                SelectListItem item = new SelectListItem();
                item.Text = (string)Utility.FONT_COLOR[i, 0];
                item.Value = "" + Utility.FONT_COLOR[i, 1];
                colors.Add(item);
            }
            ViewBag.Colors = colors;
            return View();
        }

    }
}
